import React from "react";

/*export default (props) => {
  console.log(props);
  return (
    <h1>
      /users/$user/posts/$post/index（邮件详情页）<br/>
      /users/{props.match.params.user}/posts/{props.match.params.post}/index<br/>
      {props.match.url}
    </h1>
  );
}*/

export default class extends React.Component {
  render() {
    return (
      <h1>
        /users/$user/posts/$post/index（邮件详情页）<br/>
        /users/{this.props.match.params.user}/posts/{this.props.match.params.post}/index<br/>
        {this.props.match.url}
      </h1>
    );
  }
}
